#include <stdio.h>
#include <iostream>
#include <string>
#include "structures.h"
#include "Tiles.h"
using namespace std;




int main(){

	printf("Hello World -- ");
	cout << "Hello World" << endl;

	// Main game loop
	//  -waits for use input
	string input;

	// initialize class and level design
	// NOTE: an extra row with NONE has to be created to signify end of rows.
	Tiles level1;
	int row1[4] = {WALL,FLOOR,HOLE,NONE};
	int row2[4] = {FLOOR,FLOOR,WALL,NONE};
	int row3[4] = {FLOOR,FLOOR,WALL,NONE};
	int row4[1] = {NONE};
	int* level_design[4] = {row1,row2,row3,row4};

	// NOTE: TEST FOR NOW. Later can use something like:
	//		 int row1[5]={Wall,Floor,Wall,Floor,Hole};
	//		 int row2[5]={Wall,Floor,Wall,Wall,Floor}; ... etc
	//		 lastly... int* level_design[5] = {row1,row2,row3,row4,row5};
	
	// THIS WOULD CREATE A FIVE BY FIVE BLOCK LEVEL
	level1.initialize(level_design);
	level1.show_map();
	/*
	while(1){
		getline(cin, input);

		// UP function
		if( input == "w" ) {
			cout << "W!" << endl;

			//move_up();//(tile array, object array, location?)
			
		// LEFT
		} else if ( input == "a" ) {
			cout << "A!" << endl;

		// RIGHT
		} else if ( input == "d" ) {
			cout << "D!" << endl;



		// DOWN
		} else if ( input == "s" ) {
			cout << "S!" << endl;
		}
	}
	*/


}